﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LAMSDK.Cache
{
    public class Cache
    {
        private System.Web.Caching.Cache cache = System.Web.HttpRuntime.Cache;

        public int Count{
            get{return cache.Count;}
        }

        public object this[string key]
        {
            get { return cache.Get(key); }
            set { Add(key, value); }
        }

        public void Add(string key, object value)
        { 
            
        }

        public void Remove(string key)
        {
            cache.Remove(key);
        }

    }
}
